/**
 * @program: 11.8
 * @description:
 * @author: 李鑫月
 * @create: 2021-11-08 19:59
 **/
public class Test {
    public static void main(String[] args) {
        MyLinkedlist myLinkedlist=new MyLinkedlist();
        myLinkedlist.addFirst(12);
        myLinkedlist.addFirst(12);
     myLinkedlist.addFirst(12);
       myLinkedlist.addFirst(9);
        myLinkedlist.addFirst(12);
       myLinkedlist.addFirst(21);
        myLinkedlist.display();
        myLinkedlist.removeAllKey(12);
        myLinkedlist.display();
       myLinkedlist.remove(7);
        myLinkedlist.remove(12);
        myLinkedlist.addIndex(myLinkedlist.size(),1111);
        myLinkedlist.display();
        myLinkedlist.clear();

        myLinkedlist.display();

    }

}
